using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 用户积分记录dto
    /// </summary>
    public class BaseUserPointRecordDto
    {
        /// <summary>
        /// 用户积分ID
        /// </summary>
        public Guid UserPointId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 变动类型:1比赛增加
        /// </summary>
        public UserPointChangeTypeEnum ChangeType { get; set; }

        /// <summary>
        /// 变化积分
        /// </summary>
        public int ChangePoint { get; set; }

        /// <summary>
        /// 剩余积分
        /// </summary>
        public long RemainPoint { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
